package com.imooc.order.util;

import com.imooc.order.VO.ResultVO;

/**
 * @Classname ResultVOUtil
 * @Description TODO
 * @Date 2019-04-27 11:44
 * @Created by Administrator
 * @Version 1.0
 */
public class ResultVOUtil {

    public static ResultVO success(Object object) {
        ResultVO resultVO = new ResultVO();
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        resultVO.setData(object);
        return resultVO;
    }
}
